package org.example.assistant;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

@AiService(wiringMode = AiServiceWiringMode.EXPLICIT,
        chatModel = "qwenChatModel",
        chatMemoryProvider = "chatMemoryProviderForm",
        contentRetriever = "contentRetrieverForm",
        tools="formTools")
public interface FormAssitant {
    @SystemMessage(fromResource = "form-prompt-template.txt")
    String chart(@MemoryId Long memoryId, @UserMessage String userMessage);
}
